import { createRouter, createWebHistory, RouteRecordRaw } from 'vue-router';
// import HelloWorld from '../components/HelloWorld.vue';
const routes: Array<RouteRecordRaw> = [
    {
        path: '/',
        name: '/index',
        component: () => import('../view/index.vue'),
    },
    {
        path: '/',
        redirect: '/index',
    },
];

const router = createRouter({
    history: createWebHistory(),
    routes,
});

export default router;
